home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / share / doc / libgphoto2-2 / README.Debian < prev    next >
Encoding:
Text File  |  2010-11-10  |  1.2 KB  |  34 lines

  1. Using libgphoto2 as a normal user
  2. ---------------------------------
  3.  
  4. This version of libgphoto2-installs udev files in /etc/udev/libgphoto2.rules to
  5. allow camera access to all members of group 'plugdev'.
  6.  
  7. This means the only configuration is to add authorized users to the 'plugdev'
  8. group.  Note that group changes will only apply when you relog.
  9.  
  10. udev may fail to set group ownership for cameras that are not explicitely known
  11. by gphoto2, if you know your camera is a generic PTP model not handled by udev,
  12. you can create a file in /etc/udev/rules.d/, say z25_my_camera.rules, with such
  13. a content:
  14.  
  15. ACTION=="add", SYSFS{idVendor}=="XXXX", SYSFS{idProduct}=="YYYY", \
  16.   MODE="0660", GROUP="plugdev"
  17.  
  18. You can get XXXX and YYYY value with lsusb, for example:
  19.  
  20.   Bus 001 Device 010: ID 04a9:3125 Canon, Inc.
  21.                          ^^^^ ^^^^
  22.              XXXX YYYY
  23.  
  24. You can also send the USB ID as a Debian bug report or to gphoto2 development
  25. mailing list at gphoto-devel@lists.sourceforge.net
  26.  
  27. Note: before 2.2.1-9, the group was not 'plugdev' but 'camera'.
  28.  
  29.  
  30. Note: /etc/udev/rules.d/025_libgphoto2.rules is a symlink created
  31.       the first libgphoto2 is installed; it can be removed and won't
  32.       be recreated on updates.
  33.  
  34.